package cn.yiyuan.base.customCode;

/**
 * @user m
 * @project car_mall_system
 * @date 2023-12-27
 * @package cn.yiyuan.base.until
 */

public enum  ResponseCode {


    RESPONSE_CODE_100(100,""),
    RESPONSE_CODE_1001(101,"店铺已存在"),
    RESPONSE_CODE_1002(102,"你好"),
    RESPONSE_CODE_1003(103,"你好"),
    RESPONSE_CODE_1004(104,"你好"),
    RESPONSE_CODE_200(200,"操作成功"),
    RESPONSE_CODE_2001(2001,"老铁，你不选中数据，臣妾上架不了啊...."),
    RESPONSE_CODE_2002(2002,"老铁，请选择已下架且已审核通过的数据!"),
    RESPONSE_CODE_4000(4000,"两次密码不一致"),
    RESPONSE_CODE_4001(4001,"用户名或密码错误"),
    RESPONSE_CODE_4002(4002,"用户名已存在"),
    RESPONSE_CODE_4003(4003,"手机号以注册"),
    RESPONSE_CODE_4004(4004,"验证码已过期"),
    RESPONSE_CODE_4005(4005,"您填写的信息有误或者不完整"),
    RESPONSE_CODE_500(500,"网络异常");


    private Integer code;

    private String message;

    //构造方法
    ResponseCode(Integer code) {
        this.code = code;
    }

    ResponseCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    //get set方法
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    //
}
